home *** CD-ROM | disk | FTP | other *** search
- Path: news.erg.cuhk.hk!ywleung
- From: ywleung@cs.cuhk.hk (Marty McFly)
- Newsgroups: comp.lang.c++
- Subject: Question about destructor...
- Date: 3 Jan 1996 16:08:52 GMT
- Organization: Engineering Faculty CUHK
- Message-ID: <4ce9mk$atg@eng_ser1.erg.cuhk.hk>
- NNTP-Posting-Host: sun19.cs.cuhk.hk
- X-Newsreader: TIN [version 1.2 PL2]
-
- Dear All,
-
- I now have 2 classes A and B. B is a derived class of A. However,
- the internal implementation of A is not known, i.e., the private members of
- class A are not provided, only the public members are given. But class B is
- implemented by myself. So what should be written in the destructor of B so
- that all the private members inherited from A are also "deleted"?
-
- Regards,
- Marty McFly.
-
-
-